package com.brainhealth.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author wolong
 */
public class CacheConstants
{
    /**
     * 微信的 access_key
     */
    public static final String WECHAT_ACCESS_KEY = "wechat_access_key:";
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 订单创建时间 redis key
     */
    public static final String ORDER_TIME = "order_time:";

    /**
     * 积分充值订单 支付截至时间
     */
    public static final String SCORE_ORDER_TIME = "score_order_time:";

    /**
     * 短信验证码 redis key
     */
    public static final String SMS_CODE = "sms_code:";

    /**
     * 会员登录 redis key
     */
    public static final String CUSTOMER_TOKEN = "customer_token:";

    /**
     * 会员签到 redis key
     */
    public static final String CUSTOMER_SIGN = "customer_sign:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    /**
     * 聊天模板
     */
    public static final String CHAT_TEMPLATE_KEY = "chat_template";

    /**
     * 返回青竹
     */
    public static final String CHAT_RETURN_KEY = "chat_return";

    /**
     * 登录推送
     */
    public static final String PUSH_LOGIN_KEY = "push_login";

    /**
     * 文心一言token
     */
    public static final String TOKENS_ERNIE_BOT = "ernie_bot";
}
